package com.example.system.service;

import com.example.system.domain.student.dto.StudentDTO;
import com.example.system.domain.student.dto.StudentSaveDTO;
import com.example.system.domain.student.dto.StudentQueryDTO;
import com.example.system.domain.student.dto.StudentClassroomDTO;
import com.example.system.domain.student.vo.StudentDetailVO;
import com.example.system.domain.student.vo.StudentVO;

import java.util.List;

public interface IStudentService {
    List<StudentVO> list(StudentQueryDTO studentQueryDTO);

    StudentDetailVO detail(Long studentId);

    int edit(StudentSaveDTO studentSaveDTO);

    int updateStatus(StudentDTO studentDTO);
    
    /**
     * 更新学生所属班级
     * @param studentClassroomDTO 学生班级信息
     * @return 影响行数
     */
    int updateClassroom(StudentClassroomDTO studentClassroomDTO);
}
